include ../Makefile.shared

define PROJ_cl
  SOURCES = cl.ml 
  RESULT = cl
endef
export PROJ_cl

ifndef SUBPROJS
  export SUBPROJS = cl
endif

export LIBS=ext str data expat mn bn circuit

# Default target to use
all: nc
	cp $(SUBPROJS) $(BINDIR)

# Catch-all target will be applied to all subprojects automatically
%:
	@$(MAKE) -f $(OCAMLMAKEFILE) subprojs SUBTARGET=$@
